package com.github.jettyrun.common.utils.validator;

import java.util.ArrayList;
import java.util.Map;

/**
 * Created by jetty on 18/2/12.
 */
public class User {
    @NotBlack
    private String name;
    @NotNull
    @Number(gt = "3",lt = "50")
    private Integer age;
    @NotNull
    @Number(gt = "3",lt = "230")
    private Integer money;
    @NotEmpty
    private ArrayList<String> arrayList;


    public User(String name,Integer age,Integer money){
        this.name=name;
        this.age=age;
        this.money=money;
        String text="tex";
        ArrayList arrayList=new ArrayList();
        this.arrayList=arrayList;
    }
}
